package com.neusoft.entity;

/**
 * 管理员
 */
public class Admin {

    private Integer admin_id;

    /**
     * 管理员等级
     * level=1：系统管理员——>可以对商品管理员、商品进行增删查改
     * level=2：商品管理员——>仅能对商品进行增删查改
     */
    private Integer level;

    /**
     * 登录账号（唯一）
     */
    private String account;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 盐值
     */
    private byte[] salt;

    /**
     * 散列密码
     */
    private byte[] password;

    /**
     * 电话号码（唯一）
     */
    private String phoneNumber;


    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public byte[] getSalt() {
        return salt;
    }

    public void setSalt(byte[] salt) {
        this.salt = salt;
    }

    public byte[] getPassword() {
        return password;
    }

    public void setPassword(byte[] password) {
        this.password = password;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
    public Integer getAdmin_id() {
		return admin_id;
	}

	public void setAdmin_id(Integer admin_id) {
		this.admin_id = admin_id;
	}


}
